<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>创意个人网站 - 原型</title>
    <!-- 引入Font Awesome图标库 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        /* 全局样式 */
        :root {
            --primary-color: #4361ee;
            --secondary-color: #ff4d5a;
            --accent-color: #4ecca3;
            --light-bg: #f8f9fa;
            --dark-bg: #343a40;
            --light-text: #f8f9fa;
            --dark-text: #343a40;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--dark-text);
            background-color: var(--light-bg);
            margin: 0;
            padding: 0;
            transition: background-color 0.3s, color 0.3s;
        }

        body.dark-mode {
            background-color: var(--dark-bg);
            color: var(--light-text);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        /* 标题样式 */
        h1, h2, h3 {
            font-weight: 700;
        }

        h1 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        h2 {
            font-size: 2rem;
            margin-bottom: 0.8rem;
            color: var(--primary-color);
        }

        h3 {
            font-size: 1.5rem;
            margin-bottom: 0.6rem;
        }

        /* 原型容器样式 */
        .prototype-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 30px;
        }

        .prototype {
            border: 2px solid var(--primary-color);
            border-radius: 10px;
            padding: 20px;
            flex: 1 1 300px;
            max-width: 100%;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .prototype:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

        .prototype-title {
            background: var(--primary-color);
            color: white;
            padding: 8px 15px;
            border-radius: 5px;
            position: absolute;
            top: -15px;
            left: 20px;
            font-size: 0.9rem;
            font-weight: bold;
        }

        /* 导航栏样式 */
        .navbar {
            background: linear-gradient(135deg, var(--primary-color), #1a2a6c);
            color: white;
            padding: 15px 20px;
            border-radius: 10px;
            margin-bottom: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .nav-brand {
            font-size: 1.5rem;
            font-weight: bold;
        }

        .nav-links {
            display: flex;
            gap: 20px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            padding: 5px 10px;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        .nav-links a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        /* 英雄区域样式 */
        .hero {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 50px 20px;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.1), rgba(74, 242, 163, 0.1));
            border-radius: 10px;
            margin-bottom: 30px;
        }

        .profile-img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        .tagline {
            font-size: 1.2rem;
            color: var(--secondary-color);
            margin-bottom: 20px;
        }

        .cta-button {
            background-color: var(--secondary-color);
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 30px;
            font-size: 1rem;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .cta-button:hover {
            background-color: #e6374a;
            transform: scale(1.05);
        }

        /* 项目展示区域样式 */
        .projects {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
        }

        .project-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .dark-mode .project-card {
            background-color: #424242;
        }

        .project-card:hover {
            transform: translateY(-5px);
        }

        .project-img {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }

        .project-details {
            padding: 15px;
        }

        .project-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--primary-color);
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 10px;
        }

        .tag {
            background-color: rgba(67, 97, 238, 0.1);
            color: var(--primary-color);
            padding: 3px 8px;
            border-radius: 3px;
            font-size: 0.8rem;
        }

        /* 技能展示区域样式 */
        .skills-container {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }

        .skill {
            background-color: white;
            padding: 15px;
            border-radius: 10px;
            flex: 1 1 calc(33.333% - 15px);
            min-width: 200px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .dark-mode .skill {
            background-color: #424242;
        }

        .skill-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            font-size: 1.5rem;
        }

        .skill-info {
            flex-grow: 1;
        }

        .skill-name {
            font-weight: bold;
            margin-bottom: 5px;
        }

        .skill-bar {
            height: 5px;
            background-color: #e0e0e0;
            border-radius: 5px;
            margin-top: 5px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 5px;
        }

        /* 时间线样式 */
        .timeline {
            position: relative;
            max-width: 100%;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background-color: var(--primary-color);
            top: 0;
            bottom: 0;
            left: 20px;
            margin-left: -2px;
        }

        .timeline-item {
            padding: 10px 40px;
            position: relative;
            margin-bottom: 20px;
        }

        .timeline-dot {
            width: 20px;
            height: 20px;
            background-color: var(--secondary-color);
            border-radius: 50%;
            position: absolute;
            left: 0;
            top: 15px;
            z-index: 1;
        }

        .timeline-date {
            font-weight: bold;
            color: var(--primary-color);
            margin-bottom: 5px;
        }

        .timeline-content {
            background-color: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .dark-mode .timeline-content {
            background-color: #424242;
        }

        /* 联系表单样式 */
        .contact-form {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .dark-mode .contact-form {
            background-color: #424242;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .form-input, .form-textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1rem;
            font-family: inherit;
        }

        .form-textarea {
            min-height: 100px;
            resize: vertical;
        }

        /* 博客卡片样式 */
        .blog-posts {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }

        .blog-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }

        .dark-mode .blog-card {
            background-color: #424242;
        }

        .blog-card:hover {
            transform: translateY(-5px);
        }

        .blog-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
        }

        .blog-details {
            padding: 15px;
        }

        .blog-date {
            font-size: 0.8rem;
            color: #666;
            margin-bottom: 5px;
        }

        .dark-mode .blog-date {
            color: #ccc;
        }

        .blog-title {
            font-size: 1.2rem;
            margin-bottom: 10px;
            color: var(--primary-color);
        }

        .blog-excerpt {
            margin-bottom: 15px;
        }

        .read-more {
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: bold;
        }

        /* 暗色模式切换按钮 */
        .theme-toggle {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 100;
            transition: background-color 0.3s;
        }

        .theme-toggle:hover {
            background-color: var(--secondary-color);
        }

        /* 留言板样式 */
        .guestbook {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .dark-mode .guestbook {
            background-color: #424242;
        }

        .message {
            border-bottom: 1px solid #eee;
            padding: 15px 0;
        }

        .dark-mode .message {
            border-bottom-color: #555;
        }

        .message-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
        }

        .message-author {
            font-weight: bold;
            color: var(--primary-color);
        }

        .message-date {
            font-size: 0.8rem;
            color: #666;
        }

        .dark-mode .message-date {
            color: #ccc;
        }

        /* 音乐播放器样式 */
        .music-player {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .player-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 15px 0;
        }

        .control-button {
            background: none;
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
        }

        .progress-container {
            height: 5px;
            background-color: rgba(255, 255, 255, 0.3);
            border-radius: 5px;
            margin: 10px 0;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            width: 35%;
            background-color: white;
            border-radius: 5px;
        }

        /* 响应式调整 */
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                gap: 10px;
            }
            
            .nav-links {
                width: 100%;
                justify-content: center;
                flex-wrap: wrap;
            }
            
            .hero {
                padding: 30px 10px;
            }
            
            .prototype {
                flex: 1 1 100%;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>创意个人网站原型设计</h1>
        <p>以下是各个界面元素的视觉原型，展示了网站的整体设计风格和功能布局。</p>
        
        <div class="prototype-container">
            <!-- 导航栏原型 -->
            <div class="prototype">
                <div class="prototype-title">导航栏</div>
                <div class="navbar">
                    <div class="nav-brand">张三的个人空间</div>
                    <div class="nav-links">
                        <a href="#"><i class="fas fa-home"></i> 首页</a>
                        <a href="#"><i class="fas fa-user"></i> 关于我</a>
                        <a href="#"><i class="fas fa-briefcase"></i> 作品集</a>
                        <a href="#"><i class="fas fa-pen"></i> 博客</a>
                        <a href="#"><i class="fas fa-envelope"></i> 联系我</a>
                    </div>
                </div>
            </div>
            
            <!-- 首页英雄区域原型 -->
            <div class="prototype">
                <div class="prototype-title">首页英雄区</div>
                <div class="hero">
                    <img src="https://via.placeholder.com/150" alt="个人头像" class="profile-img">
                    <h1>你好，我是张三</h1>
                    <p class="tagline">全栈开发者 | UI/UX设计师 | 摄影爱好者</p>
                    <p>用创意和代码构建美好的数字世界</p>
                    <button class="cta-button">
                        <i class="fas fa-paper-plane"></i> 联系我
                    </button>
                </div>
            </div>
            
            <!-- 项目展示原型 -->
            <div class="prototype">
                <div class="prototype-title">项目展示</div>
                <h3>我的作品集</h3>
                <div class="projects">
                    <div class="project-card">
                        <img src="https://via.placeholder.com/300x150" alt="项目预览" class="project-img">
                        <div class="project-details">
                            <div class="project-title">响应式电商平台</div>
                            <p>为本地商家打造的现代化电子商务解决方案</p>
                            <div class="project-tags">
                                <span class="tag">React</span>
                                <span class="tag">Node.js</span>
                                <span class="tag">MongoDB</span>
                            </div>
                        </div>
                    </div>
                    <div class="project-card">
                        <img src="https://via.placeholder.com/300x150" alt="项目预览" class="project-img">
                        <div class="project-details">
                            <div class="project-title">旅行博客应用</div>
                            <p>旅行爱好者分享故事和照片的社交平台</p>
                            <div class="project-tags">
                                <span class="tag">Vue.js</span>
                                <span class="tag">Express</span>
                                <span class="tag">PostgreSQL</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 技能展示原型 -->
            <div class="prototype">
                <div class="prototype-title">技能展示</div>
                <h3>我的专业技能</h3>
                <div class="skills-container">
                    <div class="skill">
                        <div class="skill-icon">
                            <i class="fab fa-html5"></i>
                        </div>
                        <div class="skill-info">
                            <div class="skill-name">HTML/CSS</div>
                            <div class="skill-bar">
                                <div class="skill-progress" style="width: 95%;"></div>
                            </div>
                        </div>
                    </div>
                    <div class="skill">
                        <div class="skill-icon">
                            <i class="fab fa-js"></i>
                        </div>
                        <div class="skill-info">
                            <div class="skill-name">JavaScript</div>
                            <div class="skill-bar">
                                <div class="skill-progress" style="width: 85%;"></div>
                            </div>
                        </div>
                    </div>
                    <div class="skill">
                        <div class="skill-icon">
                            <i class="fab fa-react"></i>
                        </div>
                        <div class="skill-info">
                            <div class="skill-name">React</div>
                            <div class="skill-bar">
                                <div class="skill-progress" style="width: 80%;"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 时间线原型 -->
            <div class="prototype">
                <div class="prototype-title">个人成长时间线</div>
                <h3>我的经历</h3>
                <div class="timeline">
                    <div class="timeline-item">
                        <div class="timeline-dot"></div>
                        <div class="timeline-date">2023 - 至今</div>
                        <div class="timeline-content">
                            <h4>高级前端开发</h4>
                            <p>ABC科技有限公司</p>
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-dot"></div>
                        <div class="timeline-date">2020 - 2023</div>
                        <div class="timeline-content">
                            <h4>Web开发工程师</h4>
                            <p>XYZ创新工作室</p>
                        </div>
                    </div>
                    <div class="timeline-item">
                        <div class="timeline-dot"></div>
                        <div class="timeline-date">2016 - 2020</div>
                        <div class="timeline-content">
                            <h4>计算机科学学士</h4>
                            <p>某某大学</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 博客部分原型 -->
            <div class="prototype">
                <div class="prototype-title">博客展示</div>
                <h3>最新文章</h3>
                <div class="blog-posts">
                    <div class="blog-card">
                        <img src="https://via.placeholder.com/300x180" alt="博客配图" class="blog-img">
                        <div class="blog-details">
                            <div class="blog-date">2023年10月15日</div>
                            <div class="blog-title">现代Web开发的最佳实践</div>
                            <p class="blog-excerpt">在这篇文章中，我们将探讨现代Web开发中应该遵循的一些最佳实践，以及如何提高代码质量...</p>
                            <a href="#" class="read-more">阅读更多 <i class="fas fa-arrow-right"></i></a>
                        </div>
                    </div>
                    <div class="blog-card">
                        <img src="https://via.placeholder.com/300x180" alt="博客配图" class="blog-img">
                        <div class="blog-details">
                            <div class="blog-date">2023年9月28日</div>
                            <div class="blog-title">UI设计趋势与用户体验</div>
                            <p class="blog-excerpt">随着技术的发展，UI设计也在不断演变。本文讨论了2023年最流行的设计趋势和用户体验考量...</p>
                            <a href="#" class="read-more">阅读更多 <i class="fas fa-arrow-right"></i></a>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 联系表单原型 -->
            <div class="prototype">
                <div class="prototype-title">联系表单</div>
                <h3>与我联系</h3>
                <div class="contact-form">
                    <div class="form-group">
                        <label for="name" class="form-label">姓名</label>
                        <input type="text" id="name" class="form-input" placeholder="请输入您的姓名">
                    </div>
                    <div class="form-group">
                        <label for="email" class="form-label">邮箱</label>
                        <input type="email" id="email" class="form-input" placeholder="请输入您的邮箱">
                    </div>
                    <div class="form-group">
                        <label for="message" class="form-label">留言</label>
                        <textarea id="message" class="form-textarea" placeholder="请输入您的留言内容"></textarea>
                    </div>
                    <button class="cta-button">
                        <i class="fas fa-paper-plane"></i> 发送留言
                    </button>
                </div>
            </div>
            
            <!-- 留言板原型 -->
            <div class="prototype">
                <div class="prototype-title">访客留言板</div>
                <h3>留言板</h3>
                <div class="guestbook">
                    <div class="message">
                        <div class="message-header">
                            <span class="message-author">李四</span>
                            <span class="message-date">2023年10月10日</span>
                        </div>
                        <p>非常喜欢你的网站设计，干净利落又不失创意！希望能有机会合作。</p>
                    </div>
                    <div class="message">
                        <div class="message-header">
                            <span class="message-author">王五</span>
                            <span class="message-date">2023年10月5日</span>
                        </div>
                        <p>你的React教程对我帮助很大，感谢分享这么有价值的内容！</p>
                    </div>
                    <div class="form-group">
                        <textarea class="form-textarea" placeholder="写下你的留言..."></textarea>
                    </div>
                    <button class="cta-button">
                        <i class="fas fa-comment"></i> 提交留言
                    </button>
                </div>
            </div>
            
            <!-- 音乐播放器原型 -->
            <div class="prototype">
                <div class="prototype-title">音乐播放器</div>
                <div class="music-player">
                    <h3>正在播放</h3>
                    <p>《春风十里》- 鹿先森乐队</p>
                    <div class="progress-container">
                        <div class="progress-bar"></div>
                    </div>
                    <div class="player-controls">
                        <button class="control-button"><i class="fas fa-step-backward"></i></button>
                        <button class="control-button"><i class="fas fa-play"></i></button>
                        <button class="control-button"><i class="fas fa-step-forward"></i></button>
                        <button class="control-button"><i class="fas fa-volume-up"></i></button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 暗色模式切换按钮 -->
        <div class="theme-toggle" id="theme-toggle">
            <i class="fas fa-moon"></i>
        </div>
    </div>

    <script>
        // 暗色/亮色模式切换功能
        const themeToggle = document.getElementById('theme-toggle');
        const themeIcon = themeToggle.querySelector('i');
        
        themeToggle.addEventListener('click', () => {
            document.body.classList.toggle('dark-mode');
            
            // 切换图标
            if (document.body.classList.contains('dark-mode')) {
                themeIcon.classList.remove('fa-moon');
                themeIcon.classList.add('fa-sun');
            } else {
                themeIcon.classList.remove('fa-sun');
                themeIcon.classList.add('fa-moon');
            }
        });
    </script>
</body>
</html> 